package com.cms.setting.banner.dao;

import java.util.List;

import com.cms.framework.utils.page.PageView;
import com.cms.setting.banner.pojo.Banner;
import com.cms.setting.banner.pojo.dto.BannerDTO;

public interface BannerDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Banner record);

    int insertSelective(Banner record);

    Banner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Banner record);

    int updateByPrimaryKeyWithBLOBs(Banner record);

    int updateByPrimaryKey(Banner record);
    
    List<Banner> findPageList(PageView<BannerDTO> pageView, BannerDTO bannerDTOParams);
}